package com.xiaowu.netmusic.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;



@Data
public class PlaylistCreateDTO {

    @NotBlank(message = "歌单名称不能为空")
    @Size(max = 100, message = "歌单名称最多100个字符")
    private String name;

    private String description;

    private String coverUrl;
}
